/**
 * 
 */
package com.yixun.qfbao.apidto;

import com.yixun.qfbao.apidto.base.CommonReqDTO;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author yuefei.chen
 *
 */
public class BatchAddEstateAdviserReqDto extends CommonReqDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Valid
	private List<EstateAdviserDto> list;
	
	@NotNull(message="楼盘id不能为空")
    @ApiModelProperty(value="所属楼盘id",required=true)
    private Long premisesId;
    
	public List<EstateAdviserDto> getList() {
		return list;
	}


	public void setList(List<EstateAdviserDto> list) {
		this.list = list;
	}


	public Long getPremisesId() {
		return premisesId;
	}


	public void setPremisesId(Long premisesId) {
		this.premisesId = premisesId;
	}


	public Long getCreateUserId() {
		return Long.valueOf(super.getUserId());
	}

}
